package com.gitee.wsl.doc.sample.rss


interface ParseRSSOperation {
    /**
     * Release Parser Factory
     */
    fun release()

    //var applyRSSFeedConstructor: (() -> RSSFeed)

    /**
     * Parse RSS from Reader Object
     */
//    @Throws(ParseRSSException::class, IOException::class)
//    fun <R : RSSFeed> parse(xml: Reader): R

    /**
     * Parse RSS from xml String
     */
    @Throws(_root_ide_package_.com.gitee.wsl.doc.sample.rss.ParseRSSException::class)
    fun <R : com.gitee.wsl.doc.sample.rss.RSSFeed> parse(xml: String): R

    /**
     * Parse RSS customizable
     */
    @Throws(_root_ide_package_.com.gitee.wsl.doc.sample.rss.ParseRSSException::class)
    fun <T : com.gitee.wsl.doc.sample.rss.RSSFeed> parse(xml: String, strictlyNamespaceChecking: Boolean, feedSupplier: () -> T): T
}
